<template>
  <div id="app">
<!-- <Home /> -->
  <keep-alive>
    <!-- 路由切换的时候会频繁的发送数据，加keepalive 存到缓存中 不用再频繁的获取数据，性能提高 -->
      <router-view></router-view>
  </keep-alive>
  </div>
</template>

<script>
// import Home from './views/Home'
// import City from './views/City/City'
export default {
  components:{
    // Home,
    // City
    activated: function() {
    this.getCase()
  }
  }
}
</script>
<style>

</style>
